GET
/
public
/
v1
/
audiences
/
{audience-key}
curl --request GET \
  --url https://api.topsort.com/public/v1/audiences/{audience-key}
{
  "audienceKey": "age",
  "audienceValues": [
    "18-24",
    "25-34"
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

audience-key
string
required

Audience key to retrieve.

Response

201
application/json
Successful Response

Represents an audience.

audienceKey
string
required

Unique identifier for categorizing audiences.

Required string length: 2 - 25
audienceValues
string[]
required

List of specific values under this category.

createdAt
string
required

Datetime of when the audience was created.

updatedAt
string
required

Datetime of the audience's last update.